POV-Ray : Newsgroups : povray.general : New mesh type : Re: New mesh type Server Time
5 Aug 2024 10:20:41 EDT (-0400)
  Re: New mesh type  
From: Warp
Date: 11 Oct 2002 20:24:48
Message: <3da76bd0@news.povray.org>
Christopher James Huff <chr### [at] maccom> wrote:
>     displace {DISPLACEMENT_ITEMS}

  Perhaps better:

    function { FUNCTION } // each vertex is transformed according to this

  This function would be given extra information besides the x, y and z
of the vertex point (eg. the normal vector at the vertex, for example
named nx, ny and nz).

  Of course transforming vertices usually invalidates previously existing
normal vectors, so they must be either recalculated or entered otherwise
by the user. This is a bit problematic.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.